From: Yosef Or Boczko Date: Wed, 11 Dec 2013 20:42:01 +0000 (+0200) Subject: endSessionDialog: Align some strings to the right in RTL X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2989 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=53b37e8d0cfca11583d599f64642a1ec85c33ee9;p=gnome-shell.git endSessionDialog: Align some strings to the right in RTL https://bugzilla.gnome.org/show_bug.cgi?id=712600 --- diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 91fca2d06..1ba82500c 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -1944,6 +1944,7 @@ StScrollBar StButton#vhandle:active { .end-session-dialog-description:rtl { padding-right: 17px; + text-align: right; } .end-session-dialog-logout-icon { @@ -1976,6 +1977,10 @@ StScrollBar StButton#vhandle:active { font-weight: bold; } +.end-session-dialog-list-header:rtl { + text-align: right; +} + .end-session-dialog-app-list-item, .end-session-dialog-session-list-item { spacing: 1em; diff --git a/js/ui/endSessionDialog.js b/js/ui/endSessionDialog.js index 60ca3f7c0..1d43d211f 100644 --- a/js/ui/endSessionDialog.js +++ b/js/ui/endSessionDialog.js @@ -249,7 +249,9 @@ const EndSessionDialog = new Lang.Class({ this._subjectLabel = new St.Label({ style_class: 'end-session-dialog-subject' }); messageLayout.add(this._subjectLabel, - { y_fill: false, + { x_fill: false, + y_fill: false, + x_align: St.Align.START, y_align: St.Align.START }); this._descriptionLabel = new St.Label({ style_class: 'end-session-dialog-description' });